package com.common.dagger.component;

import android.app.Activity;

import com.lsz.deport.ui.MainActivity;
import com.lsz.deport.ui.login.LoginActivity;
import com.lsz.deport.ui.order.OrderListActivity;
import com.util_code.dagger.module.ActivityModule;
import com.util_code.dagger.scope.ActivityScope;

import dagger.Component;

@ActivityScope
@Component(dependencies = MyAppComponent.class, modules = ActivityModule.class)
public interface ActivityComponent {
    Activity getActivity();

    void inject(MainActivity mainActivity);

    void inject(LoginActivity loginActivity);

    void inject(OrderListActivity orderListActivity);

}
